<!DOCTYPE html>
<html>
<head lang="en">
  <meta charset="UTF-8">
  <script src="https://unpkg.com/vue/dist/vue.js"></script>
</head>
<body>
<div id="hook-arguments-example" v-demo-directive="{ color: 'white', text: 'hello!' }"></div>
<script>
  Vue.directive('demoDirective', function(el, binding, vnode){
    console.log(binding.value.color);
    console.log(binding.value.text);
  });
  var demo = new Vue({
    el: '#hook-arguments-example'
  })
</script>
</body>
</html>
